<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/css/css.css" type="text/css" rel="stylesheet" />
<title>权限管理</title>
	<script src="/encrypt/aes.js"></script>
    <script src="/encrypt/pad-zeropadding.js"></script>
    <script src="/encrypt/md5.js"></script>
    <script src="/js/jquery-1.10.2.min.js"></script>
    <script src="/js/jquery.cookie.js"></script>
    <script src="/signin/global_param.js"></script>
    <script src="/signin/auth_manager.js"></script>
</head>

<body>
    <iframe src="top.html" scrolling="no" frameborder="0"></iframe>
    <div class="sz_box">
      <div class="sz_content">
		<a href="javascript:auth_manager.select()">查看权限列表</a>&nbsp;&nbsp;&nbsp;&nbsp;
		 <a href="javascript:auth_manager.addshow()">添加权限</a>
		<!------添加------->
        <div id="add_auth" class="sz_retrieve">
          <div class="sz_retrieve_top">
             <h1>添加权限</h1>
             <div>
                 <h2></h2>
                 <div class="sz_retrieve_top_block">
                     <p><span>权&nbsp;限&nbsp;名</span><input  id="authname" type="text" /></p>
                     <p><span>u&nbsp;r&nbsp;l</span><input id="authurl" type="text" />&nbsp;&nbsp;权限对应的访问地址 , 分隔符</p>
                     <p><span>序&nbsp;&nbsp;号</span><input id="authsort" type="text" />&nbsp;&nbsp;排序范围1-127</p>
                     <p><span>状&nbsp;&nbsp;态</span><input id="authstate" type="text" value=1 />&nbsp;&nbsp;状态(1:正常,0:删除)</p>

                     <p><a href="javascript:auth_manager.add()">确认</a></p>
                 </div>
             </div>
          </div>
        </div>
        <!------添加------->
        <!------修改------->
        <div id="update_auth" style="display:none" class="sz_retrieve">
          <div class="sz_retrieve_top" >
             <h1>修改权限</h1>
             <div>
                 <h2></h2>
                 <div class="sz_retrieve_top_block">
                     <p><span>权&nbsp;限&nbsp;名</span><input  id="update_authname" type="text" /></p>
                     <p><span>u&nbsp;r&nbsp;l</span><input id="update_authurl" type="text" />&nbsp;&nbsp;权限对应的访问地址 , 分隔符</p>
                     <p><span>序&nbsp;&nbsp;号</span><input id="update_authsort" type="text" />&nbsp;&nbsp;排序范围1-127</p>
                     <p><span>状&nbsp;&nbsp;态</span><input id="update_authstate" type="text" value=1 />&nbsp;&nbsp;状态(1:正常,0:删除)</p>
					 <p><span></span><input id="update_id" type="hidden"  /></p>
						
                     <p><a href="javascript:auth_manager.update()">修改</a></p>
                 </div>
             </div>
          </div>
        </div>
        <!------修改------->
        <!------查看列表------->
        <div class="sz_nr" id="select_auth" style="display:none" >
                   <div class="sz_nr_top">权限列表</div>
                      
                   <table id="auth_table" width="100%"  border="0" cellpadding="3" cellspacing="1">
                         
                        </table>
        </div>
        <!------查看列表------->
      </div>  
    </div>
    <iframe src="footer.html" class="footer_con_ye" scrolling="no" frameborder="0"></iframe>
</body>
</html>